#include <48func.h>
void *threadFunc(void *arg){

}
int main()
{
    pthread_attr_t threadAttr;
    pthread_attr_init(&threadAttr);
    pthread_attr_setdetachstate(&threadAttr, PTHREAD_CREATE_DETACHED);
    pthread_t tid;
    pthread_create(&tid,&threadAttr,threadFunc,NULL);
    int ret = pthread_join(tid,NULL);
    THREAD_ERROR_CHECK(ret,"pthread_join");
    return 0;
}

